import request2 from "@/utils/request2";
// 广告图 - 列表
export function appIndex(query) {
    return request2({
        url: "admin/retail/ads/index",
        method: "post",
        data: query
    });
}
// 广告图列表删除
export function adsDel(query) {
    return request2({
        url: "admin/retail/ads/del",
        method: "post",
        data: query
    });
}
// 广告图列表上下架
export function adsOnshelf(query) {
    return request2({
        url: "admin/retail/ads/on_shelf",
        method: "post",
        data: query
    });
}
// 广告图 - 详情
export function appShow(query) {
    return request2({
        url: "admin/retail/ads/show",
        method: "post",
        data: query
    });
}
// 广告图 - 上下架
export function appOnShelf(query) {
    return request2({
        url: "admin/retail/ads/on_shelf",
        method: "post",
        data: query
    });
}
// 广告图 - 删除
// export function appDel(query) {
//     return request2({
//         url: "admin/retail/ads/del",
//         method: "post",
//         data: query
//     });
// }
// 广告图 - 添加
export function appStore(query) {
    return request2({
        url: "admin/retail/ads/store",
        method: "post",
        data: query
    });
}
// 广告图 - 修改
export function appUpdate(query) {
    return request2({
        url: "admin/retail/ads/update",
        method: "post",
        data: query
    });
}
// 广告图 - 添加页面
export function appCreate(query) {
    return request2({
        url: "admin/retail/ads/create",
        method: "post",
        data: query
    });
}
// 广告图 - 查询跳转内容
export function appGetLinkContent(query) {
    return request2({
        url: "admin/retail/ads/get_link_content",
        method: "post",
        data: query
    });
}
// 热门推荐列表
export function hotIndex(query) {
    return request2({
        url: "admin/retail/hot/index",
        method: "post",
        data: query
    });
}
// 热门推荐列表上下架
export function hotOnshelf(query) {
    return request2({
        url: "admin/retail/hot/on_shelf",
        method: "post",
        data: query
    });
}
// 热门添加删除
export function hotDel(query) {
    return request2({
        url: "admin/retail/hot/del",
        method: "post",
        data: query
    });
}
// 热门推荐下拉选
export function hotSelect(query) {
    return request2({
        url: "admin/retail/hot/create",
        method: "post",
        data: query
    });
}
// 热门获取项目/礼包内容
export function getLinkContent(query) {
    return request2({
        url: "admin/retail/ads/get_link_content",
        method: "post",
        data: query
    });
}
// 热门添加
export function hotStore(query) {
    return request2({
        url: "admin/retail/hot/store",
        method: "post",
        data: query
    });
}
// 省份下的热门推荐列表
export function hotProvince(query) {
    return request2({
        url: "admin/retail/hot/province_hot_list",
        method: "post",
        data: query
    });
}
// 热门推荐列表删除
export function hotProvinceDel(query) {
    return request2({
        url: "admin/retail/hot/province_del",
        method: "post",
        data: query
    });
}